int sum(int* a, int b)
{
	int c = *a + b;
	return c;
}
int fun1(int* a, int b)
{
	int c1 = 22;
	a = &c1;
	int c2 = *a + b;
	return c2;
}
int fun2(int* a, int b)
{
	*a = -2;
	int c2 = *a + b;
	return c2;
}
int mainFunc(int arg1, int a2, int arg3)
{
	int a1 = 0;
	a2 = 5;
	int* b1 = &a1;
	int& b2 = a2;

	*b1 = 10;
	b2 = 15;
	int c1 = sum(&a1, a2);
	int c2 = fun1(b1, arg3);
	int c3 = fun2(&c1, c2) + 3;
	return c3;
}
//[(1,2,3),26]
//[(-1,-2,-1),22]
//[(0,0,0),23]
//[(100,100,100),123]